package com.itheima.service;

import com.StudentDao;
import com.itheima.domain.Student;
import com.sun.org.apache.regexp.internal.RE;

import java.util.ArrayList;

public class StudentService {
    public boolean addstu(Student stu){
        StudentDao studentDao = new StudentDao();
        boolean ifstu=studentDao.addstu(stu);
        return ifstu;
    }
    public boolean Exist(String id){
        StudentDao studentDao = new StudentDao();
        return true;
    }
}
